package 行为型模式.责任链模式;

public class GeneralManage extends Handler {
    public GeneralManage() {
        super(0, Handler.NUM_SEVEN);
    }

    @Override
    protected void handlerLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天" + leave.getContent());
        System.out.println("总经理审批同意");
    }
}
